<%@page import="data.Succursale"%>
<%@page import="messages.SystemMessage"%>
<%@page import="controlleur.succursaleControlleur"%>
<%
 // recuperer les info succrusale
	succursaleControlleur sc = new succursaleControlleur();
	Succursale succursale = sc.getSuccursale(Integer.parseInt(request.getParameter(SystemMessage.SUCCURSALE_ID).toString()));	
%>
<jsp:include page="../part/header.jsp" />	

	<div data-role="header" data-position="inline">		
		<h1>Succursale x</h1>
		 <a href="editSuccursale.jsp?<%=SystemMessage.SUCCURSALE_ID %>=<%=request.getParameter(SystemMessage.SUCCURSALE_ID) %>" data-icon="gear" class="ui-btn-right">Modifier</a>
	</div>
	
	
	 <div data-role="content">
           
         <div data-role="fieldcontain">
               <label for="nom">Nom</label>
               <input type="text" name="nom" id="nom" value="<%= succursale.getNom() %>"  readonly="readonly"/>

               <label for="desc">Description</label>
               <input type="text" name="desc" id="desc" value="<%= succursale.getDescription() %>" readonly="readonly" />
               
               <label for="adresse">Adresse</label>
               <input type="text" name="adresse" id="adresse" value="<%= succursale.getAdresse() %>" readonly="readonly" />
               
               <label for="cpostal">CodePostal</label>
               <input type="text" name="cpostal" id="cpostal" value="<%= succursale.getCodePostal() %>" readonly="readonly" />
               
                                
           </div>
            
     </div>

<jsp:include page="../part/footer.jsp" />	